package com.dems.dao.dataobject;

import java.util.Date;

public class CfgAlarmStrategy {
    private Long id;

    private Long deviceId;

    private String deviceName;

    private Long signalId;

    private String signalName;

    private String alarmType;

    private String alarmCondition;

    private Integer alarmLevel;

    private Integer alarmPeriod;

    private Integer status;

    private Date createTime;

    private String createBy;

    private String createUserId;

    private Date updateTime;

    private String updateBy;

    private String updateUserId;

    private String comparisonLogic;

    private Double threholdValue;

    public Integer getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Integer isDelete) {
        this.isDelete = isDelete;
    }

    private Integer isDelete;

    public Double getRecoveryThresholdValue() {
        return recoveryThresholdValue;
    }

    public void setRecoveryThresholdValue(Double recoveryThresholdValue) {
        this.recoveryThresholdValue = recoveryThresholdValue;
    }

    private Double recoveryThresholdValue;

    private String alarmContent;

    private Integer delayTime;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(Long deviceId) {
        this.deviceId = deviceId;
    }

    public String getDeviceName() {
        return deviceName;
    }

    public void setDeviceName(String deviceName) {
        this.deviceName = deviceName == null ? null : deviceName.trim();
    }

    public Long getSignalId() {
        return signalId;
    }

    public void setSignalId(Long signalId) {
        this.signalId = signalId;
    }

    public String getSignalName() {
        return signalName;
    }

    public void setSignalName(String signalName) {
        this.signalName = signalName == null ? null : signalName.trim();
    }

    public String getAlarmType() {
        return alarmType;
    }

    public void setAlarmType(String alarmType) {
        this.alarmType = alarmType == null ? null : alarmType.trim();
    }

    public String getAlarmCondition() {
        return alarmCondition;
    }

    public void setAlarmCondition(String alarmCondition) {
        this.alarmCondition = alarmCondition == null ? null : alarmCondition.trim();
    }

    public Integer getAlarmLevel() {
        return alarmLevel;
    }

    public void setAlarmLevel(Integer alarmLevel) {
        this.alarmLevel = alarmLevel;
    }

    public Integer getAlarmPeriod() {
        return alarmPeriod;
    }

    public void setAlarmPeriod(Integer alarmPeriod) {
        this.alarmPeriod = alarmPeriod;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy == null ? null : createBy.trim();
    }

    public String getCreateUserId() {
        return createUserId;
    }

    public void setCreateUserId(String createUserId) {
        this.createUserId = createUserId == null ? null : createUserId.trim();
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy == null ? null : updateBy.trim();
    }

    public String getUpdateUserId() {
        return updateUserId;
    }

    public void setUpdateUserId(String updateUserId) {
        this.updateUserId = updateUserId == null ? null : updateUserId.trim();
    }

    public String getComparisonLogic() {
        return comparisonLogic;
    }

    public void setComparisonLogic(String comparisonLogic) {
        this.comparisonLogic = comparisonLogic == null ? null : comparisonLogic.trim();
    }

    public Double getThreholdValue() {
        return threholdValue;
    }

    public void setThreholdValue(Double threholdValue) {
        this.threholdValue = threholdValue;
    }

    public String getAlarmContent() {
        return alarmContent;
    }

    public void setAlarmContent(String alarmContent) {
        this.alarmContent = alarmContent == null ? null : alarmContent.trim();
    }

    public Integer getDelayTime() {
        return delayTime;
    }

    public void setDelayTime(Integer delayTime) {
        this.delayTime = delayTime;
    }
}